package com.my.utils;

import com.my.Config.RootConfig;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class ApplicationContextutils {

  public static ApplicationContext getApplicationContext(){

    ApplicationContext applicationContext=new AnnotationConfigApplicationContext(RootConfig.class);
    return applicationContext;
  }
}
